projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fe0ee8
)
dnd: Make sure to free a stashed event
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 1 May 2016 17:25:51 +0000
(13:25 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 1 May 2016 17:26:35 +0000
(13:26 -0400)
I am not sure if this happens in practice, but better to be safe.
gtk/gtkdnd.c
patch
|
blob
|
history
diff --git
a/gtk/gtkdnd.c
b/gtk/gtkdnd.c
index 33a324b68a5cbbde9fb110527ecb510f58ab40d7..c9f34e2229c0cac002707ef5b14be1baeeee2084 100644
(file)
--- a/
gtk/gtkdnd.c
+++ b/
gtk/gtkdnd.c
@@
-2788,6
+2788,9
@@
gtk_drag_source_info_destroy (GtkDragSourceInfo *info)
gtk_drag_clear_source_info (info->context);
g_object_unref (info->context);
+
+ if (info->last_event)
+ gdk_event_free (info->last_event);
}
static gboolean